/**
 * Upload 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/upload/style';

export const uploadThemeConfig: Partial<ComponentToken> = {
  actionsColor: 'rgba(0, 0, 0, 0.45)' as any,
};

export const getUploadTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...uploadThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as UploadComponentToken } from 'antd/es/upload/style';

